package com.netsmart.util;

import org.springframework.util.DigestUtils;

public class MD5 {

    private static final String slat = "px7#uY0*^hHm&!E@()??";
    // 类方法
    public static String transMd5(String input) {
        String base = input + "/" + slat;
        String md5 = DigestUtils.md5DigestAsHex(base.getBytes());
        return md5;
    }
    
    public static void main(String[] args) {
        System.out.println(transMd5("1234562"));
    }
    
}
